/**********************************************************************************************************************
 *
 * Project:    mGameEngine
 * File:       environment.vert
 * Author:     karooolek
 * Created on: 2009-06-23
 *
 **********************************************************************************************************************/
 
STRINGIZE(
 
void main()
{
    // pass texture coordinates
    gl_TexCoord[0] = gl_Vertex;
    
    // transform vertex
    mat4 modelview = gl_ModelViewMatrix;
    modelview[3] = vec4(0.0, 0.0, 0.0, 1.0);
    gl_Position = gl_ProjectionMatrix * modelview * gl_Vertex;
}

) // STRINGIZE
